package enums

type DateType string

const (
	Bool   DateType = "bool"
	Int32  DateType = "int32"
	Float  DateType = "float"
	Double DateType = "double"
	Text   DateType = "text"
	Date   DateType = "date"
	Struct DateType = "struct"
	Enum   DateType = "enum"
	Array  DateType = "array"
)

var (
	DataTypeEnums = map[string]map[string]string{
		"bool": {
			"0": "",
			"1": "",
		},
		"int": {
			"min":      "",
			"max":      "",
			"unit":     "",
			"unitName": "",
			"step":     "",
		},
		"float": {
			"min":      "",
			"max":      "",
			"unit":     "",
			"unitName": "",
			"step":     "",
		},
		"text": {
			"length": "",
		},
		"date": {
			"value": "",
		},
		"struct": {
			"json": "",
		},
	}
)
